<?php
/** @var Dingo\Api\Routing\Router $api */
$api->group([
    'version' => 'v1',
    'namespace' => 'App\Http\Controllers',
    'prefix' => 'api/h5',
    'middleware' => 'disable_activity_log'
], function ($api) {
    $api->get('pic-captcha', 'CaptchaController@getPicCaptcha'); // 获取图片验证码
    $api->post('sms-captcha', 'CaptchaController@getSmsCaptcha'); // 获取短信验证码
    $api->get('verification-sms-captcha', 'CaptchaController@verificationSmsCaptcha'); // 验证短信验证码是否正确
});
